package carPerson;

public class Car {
	private String model;
	private int maxSpeed;
	private int currentSpeed;
	private int currentGear;
	private int numberOfDoors;
	private int idNumber;
	private boolean isSportCar;
	
	void startEngine(){
		System.out.println("brum");
	}
	
	void changeGear(int gear){
		currentGear=gear;
	}
	
	void Accelerate(){
		currentSpeed*=2;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public int getMaxSpeed() {
		return maxSpeed;
	}

	public void setMaxSpeed(int maxSpeed) {
		this.maxSpeed = maxSpeed;
	}

	public int getCurrentSpeed() {
		return currentSpeed;
	}

	public void setCurrentSpeed(int currentSpeed) {
		this.currentSpeed = currentSpeed;
	}

	public int getCurrentGear() {
		return currentGear;
	}

	public void setCurrentGear(int currentGear) {
		this.currentGear = currentGear;
	}

	public int getNumberOfDoors() {
		return numberOfDoors;
	}

	public void setNumberOfDoors(int numberOfDoors) {
		this.numberOfDoors = numberOfDoors;
	}

	public int getIdNumber() {
		return idNumber;
	}

	public void setIdNumber(int idNumber) {
		this.idNumber = idNumber;
	}

	public boolean isSportCar() {
		return isSportCar;
	}

	public void setSportCar(boolean isSportCar) {
		this.isSportCar = isSportCar;
	}
	
	

}
